projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
187f91e
)
window: Make comparison be the right direction
author
Benjamin Otte
<otte@redhat.com>
Tue, 26 Apr 2011 22:49:00 +0000
(
00:49
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 27 Apr 2011 13:27:52 +0000
(15:27 +0200)
Messed something up there...
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 3ac8628bd5af2a812a1d3ec4bbcac9fe028d895a..5c6496c1ac264b7d9c85ea7a86b4d3585a05f66c 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-4869,7
+4869,7
@@
gtk_window_guess_default_size (GtkWindow *window,
*width = gdk_screen_get_width (screen);
*height = gdk_screen_get_height (screen);
- if (*width
<
*height)
+ if (*width
>=
*height)
{
/* landscape */
*width = MIN (*width, MAX_DEFAULT_WINDOW_WIDTH);